package com.pk.platform.domain.flow;

import java.io.Serializable;
import java.sql.Blob;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.pk.platform.util.StringConverter;

public class WorkFlow implements Serializable {

	private String id;
	
	private String flowName;
	
	private Blob content;
	
	private Date createTime;

	private Date lastModifyTime;
	
	private Integer maxId;
	
	private FlowModule flowModule;
	
	private Set<TableFlowRef> tableFlowRefSet = new HashSet<TableFlowRef>();
	
	//---非数据库字段
	private String contentStr;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFlowName() {
		return flowName;
	}

	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}

	public Blob getContent() {
		return content;
	}

	public void setContent(Blob content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public Integer getMaxId() {
		return maxId;
	}

	public void setMaxId(Integer maxId) {
		this.maxId = maxId;
	}

	public FlowModule getFlowModule() {
		return flowModule;
	}

	public void setFlowModule(FlowModule flowModule) {
		this.flowModule = flowModule;
	}

	public Set<TableFlowRef> getTableFlowRefSet() {
		return tableFlowRefSet;
	}

	public void setTableFlowRefSet(Set<TableFlowRef> tableFlowRefSet) {
		this.tableFlowRefSet = tableFlowRefSet;
	}

	public void setContentStr(String contentStr) {
		this.contentStr = contentStr;
	}
	
	public String getContentStr() {
		return contentStr;
	}
	
}
